package com.yunhe.springbootdemo3.service;

import com.yunhe.springbootday1.domain.Post;

import java.util.Map;

public interface PostService {
    Map<String, Object> allPosts(int pageNum);

    Post getPostById(int postId);
}
